package com.weeho.dongyong.entity;

import java.math.BigDecimal;

public class Approval {
    private String id;

    private String fkTaskId;

    private String taskName;

    private String approvalUserId;

    private String approvalUserName;

    private String startTime;

    private String endTime;

    private String applicantUser;

    private BigDecimal approvalQueue;

    private Long state;

    /////////////////

    private String fkHoldGoodsId;

    public String getFkHoldGoodsId() {
        return fkHoldGoodsId;
    }

    public void setFkHoldGoodsId(String fkHoldGoodsId) {
        this.fkHoldGoodsId = fkHoldGoodsId;
    }

    private String reasion;

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    private String createTime;
    private String updateTime;

    public String getReasion() {
        return reasion;
    }

    public void setReasion(String reasion) {
        this.reasion = reasion;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getFkTaskId() {
        return fkTaskId;
    }

    public void setFkTaskId(String fkTaskId) {
        this.fkTaskId = fkTaskId == null ? null : fkTaskId.trim();
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public String getApprovalUserId() {
        return approvalUserId;
    }

    public void setApprovalUserId(String approvalUserId) {
        this.approvalUserId = approvalUserId == null ? null : approvalUserId.trim();
    }

    public String getApprovalUserName() {
        return approvalUserName;
    }

    public void setApprovalUserName(String approvalUserName) {
        this.approvalUserName = approvalUserName == null ? null : approvalUserName.trim();
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime == null ? null : startTime.trim();
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime == null ? null : endTime.trim();
    }

    public String getApplicantUser() {
        return applicantUser;
    }

    public void setApplicantUser(String applicantUser) {
        this.applicantUser = applicantUser == null ? null : applicantUser.trim();
    }

    public BigDecimal getApprovalQueue() {
        return approvalQueue;
    }

    public void setApprovalQueue(BigDecimal approvalQueue) {
        this.approvalQueue = approvalQueue;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Approval() {
    }

    public Approval(Organization organization) {
        this.approvalUserId = organization.getUserId();
        this.approvalUserName = organization.getUserName();
        this.approvalQueue = organization.getOrganLevel();
    }
}